package com.qf.j2205.entity.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @ClassName BackUpVo
 * @Description TODO
 * @Author Windy
 * @Date 2022/8/18 22:18
 * @Version 1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class BackUpVo {
    private int bid;
    private String bkName;
    private Date bkDate;
    private String bkPath;
    private String bkFile;
    private String bkAddress;

    public String getBkDate(){
        return  new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(bkDate);
    }
}
